package com.regent.central.bill.core.mrp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "central_bill_material_delivery_mission_sku")
public class BillMaterialDeliveryMissionSku {
    @Id
    private String id;

    /**
     * 记录版本
     */
    private Integer version;

    @Column(name = "date_created")
    private Date dateCreated;

    @Column(name = "date_updated")
    private Date dateUpdated;

    @Column(name = "time_deleted")
    private Long timeDeleted;

    /**
     * 送料单ID
     */
    @Column(name = "bill_material_delivery_id")
    private String billMaterialDeliveryId;

    /**
     * 工单ID
     */
    @Column(name = "fac_mission_id")
    private String facMissionId;

    /**
     * 物料skuID
     */
    @Column(name = "material_sku_id")
    private String materialSkuId;

    /**
     * 物料号
     */
    @Column(name = "material_no")
    private String materialNo;

    /**
     * 物料供应商ID
     */
    @Column(name = "supplier_id")
    private String supplierId;

    /**
     * 成衣款号
     */
    @Column(name = "style_no")
    private String styleNo;

    /**
     * 送料单的工单的物料sku的送料数量
     */
    @Column(name = "quantity_delivery")
    private BigDecimal quantityDelivery;

    /**
     * 送料仓库的仓位
     */
    @Column(name = "position")
    private String position;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取记录版本
     *
     * @return version - 记录版本
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * 设置记录版本
     *
     * @param version 记录版本
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * @return date_created
     */
    public Date getDateCreated() {
        return dateCreated;
    }

    /**
     * @param dateCreated
     */
    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }

    /**
     * @return date_updated
     */
    public Date getDateUpdated() {
        return dateUpdated;
    }

    /**
     * @param dateUpdated
     */
    public void setDateUpdated(Date dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    /**
     * @return time_deleted
     */
    public Long getTimeDeleted() {
        return timeDeleted;
    }

    /**
     * @param timeDeleted
     */
    public void setTimeDeleted(Long timeDeleted) {
        this.timeDeleted = timeDeleted;
    }

    /**
     * 获取送料单ID
     *
     * @return bill_material_delivery_id - 送料单ID
     */
    public String getBillMaterialDeliveryId() {
        return billMaterialDeliveryId;
    }

    /**
     * 设置送料单ID
     *
     * @param billMaterialDeliveryId 送料单ID
     */
    public void setBillMaterialDeliveryId(String billMaterialDeliveryId) {
        this.billMaterialDeliveryId = billMaterialDeliveryId;
    }

    /**
     * 获取工单ID
     *
     * @return fac_mission_id - 工单ID
     */
    public String getFacMissionId() {
        return facMissionId;
    }

    /**
     * 设置工单ID
     *
     * @param facMissionId 工单ID
     */
    public void setFacMissionId(String facMissionId) {
        this.facMissionId = facMissionId;
    }

    /**
     * 获取物料skuID
     *
     * @return material_sku_id - 物料skuID
     */
    public String getMaterialSkuId() {
        return materialSkuId;
    }

    /**
     * 设置物料skuID
     *
     * @param materialSkuId 物料skuID
     */
    public void setMaterialSkuId(String materialSkuId) {
        this.materialSkuId = materialSkuId;
    }

    /**
     * 获取物料号
     *
     * @return material_no - 物料号
     */
    public String getMaterialNo() {
        return materialNo;
    }

    /**
     * 设置物料号
     *
     * @param materialNo 物料号
     */
    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    /**
     * 获取物料供应商ID
     *
     * @return supplier_id - 物料供应商ID
     */
    public String getSupplierId() {
        return supplierId;
    }

    /**
     * 设置物料供应商ID
     *
     * @param supplierId 物料供应商ID
     */
    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    /**
     * 获取成衣款号
     *
     * @return style_no - 成衣款号
     */
    public String getStyleNo() {
        return styleNo;
    }

    /**
     * 设置成衣款号
     *
     * @param styleNo 成衣款号
     */
    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }

    /**
     * 获取送料单的工单的物料sku的送料数量
     *
     * @return quantity_delivery - 送料单的工单的物料sku的送料数量
     */
    public BigDecimal getQuantityDelivery() {
        return quantityDelivery;
    }

    /**
     * 设置送料单的工单的物料sku的送料数量
     *
     * @param quantityDelivery 送料单的工单的物料sku的送料数量
     */
    public void setQuantityDelivery(BigDecimal quantityDelivery) {
        this.quantityDelivery = quantityDelivery;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }
}